<?php


namespace Drupal\shushengyuan\Schemas;

/**
 * Class ServiceReasonItem
 *
 * @package Drupal\youjigonglue\Schemas
 * @OA\Schema(
 *   schema="ServiceReasonItem",
 *   type="object",
 *   description="退款原因"
 * )
 */
class ServiceReasonItem extends AbstractBaseModel {

  protected function getEntityType() {
    return 'taxonomy_term';
  }

  protected function setValue() {
    $value = [
      /**
       * @OA\Property(
       *   property="tid",
       *   type="integer",
       *   description="ID",
       * ),
       */
      'tid' => '',
      /**
       * @OA\Property(
       *   property="name",
       *   type="string",
       *   description="名称",
       * ),
       */
      'name' => '',
    ];
    $this->merge($value);
  }

}
